﻿package com.baohua.model;

import java.util.Date;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;

import com.baohua.util.ExcelVOAttribute;

/**
 * 入库Bean
 * 
 * @author czp
 * 
 */

@JsonIgnoreProperties(value={"staff"})
public class InStore {

	@ExcelVOAttribute(name="序号", order=1, isExport=false)
	private Integer inStoreId;

	/**
	 * 采购编号
	 */
	@ExcelVOAttribute(name="采购编码", order=2, prompt="必须要输入哦, 3-20个字", mustInput=true)
	private String inStoreNO;
	/**
	 * 原材料编号
	 */
	@ExcelVOAttribute(name="原材料编码", order=3, prompt="必须要输入哦, 3-20个字",mustInput=true)
	private String rawMaterialNo;
	/**
	 * 原材料名称
	 */
	@ExcelVOAttribute(name="原材料名称", order=4, prompt="必须要输入哦, 3-20个字",mustInput=true)
	private String rawMaterialName;
	/**
	 * 入库数量
	 */
	@ExcelVOAttribute(name="出库/入库数量", order=5, prompt="必须要输入正数哦",mustInput=true)
	private double warehousingAmount;
	/**
	 * 单位(公斤,条,包(香烟的计数单位),件(啤酒的记数单位))
	 */
	@ExcelVOAttribute(name="单位", order=6 ,mustInput=true)
	private String unit;
	
	/**
	 * 单价成本
	 */
	@ExcelVOAttribute(name="单价成本", order=7, prompt="必须要输入正数哦",mustInput=true)
	private double unitPrice;

/**
	 * 总金额
	 */
	@ExcelVOAttribute(name="总额", order=8, prompt="必须要输入正数哦")
	private double priceAmount;
	
	/**
	 * 入库日期
	 */
	@ExcelVOAttribute(name="入库/出库日期", order=9, isDate=true, prompt="请输入正确的日期格式")
	private Date warehousingDate;
	/**
	 * 经办人
	 */
	private Staff staff;
	/**
	 * 用于区分出库入库状态，1表示入库2表示出库
	 */
	private String status;

	
	/**
	 * 备注
	 */
	@ExcelVOAttribute(name="备注", order=10)
	private String memo;

	
	public String getInStoreNO() {
		return inStoreNO;
	}

	public void setInStoreNO(String inStoreNO) {
		this.inStoreNO = inStoreNO;
	}

	public String getRawMaterialNo() {
		return rawMaterialNo;
	}

	public void setRawMaterialNo(String rawMaterialNo) {
		this.rawMaterialNo = rawMaterialNo;
	}

	public String getRawMaterialName() {
		return rawMaterialName;
	}

	public void setRawMaterialName(String rawMaterialName) {
		this.rawMaterialName = rawMaterialName;
	}

	public double getWarehousingAmount() {
		return warehousingAmount;
	}

	public void setWarehousingAmount(double warehousingAmoun) {
		this.warehousingAmount = warehousingAmoun;
	}

	public double getPriceAmount() {
		return priceAmount;
	}

	public void setPriceAmount(double priceAmount) {
		this.priceAmount = priceAmount;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public Date getWarehousingDate() {
		return warehousingDate;
	}

	public void setWarehousingDate(Date warehousingDate) {
		this.warehousingDate = warehousingDate;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Integer getInStoreId() {
		return inStoreId;
	}

	public void setInStoreId(Integer inStoreId) {
		this.inStoreId = inStoreId;
	}

	public double getUnitPrice() {
		return unitPrice;
	}

	public void setUnitPrice(double unitPrice) {
		this.unitPrice = unitPrice;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public Staff getStaff() {
		return staff;
	}

	public void setStaff(Staff staff) {
		this.staff = staff;
	}
	
}
